package cn.fan.secondcache.web;

import cn.fan.secondcache.service.QuotaService;
import cn.fan.secondcache.service.imp.QuotaServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author HTHLKJ
 * @version 1.0
 * @date 2021/8/16 15:05
 */
@RestController
public class QuotaController {

    @Autowired
    private QuotaServiceImpl quotaService;

    @GetMapping("/test")
    public Object getList(@RequestParam("param") String param) {
        return quotaService.test(param);
    }
}
